package com.idbk.chargestation.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 自定义充电信息
 * @author zhx
 *
 */
public class JsonChargeCustom implements Parcelable{

	public String pileSn;//充电桩序列号
	public String chargeMethod;//选择充电的方式
	public String chargeLimit;//数额
	public String gun;//数额
	
public JsonChargeCustom(){
		
	}
	
	public JsonChargeCustom(Parcel in){
		pileSn = in.readString();
		chargeMethod = in.readString();
		chargeLimit = in.readString();
		gun = in.readString();
	}
	
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO Auto-generated method stub
		dest.writeString(pileSn);
		dest.writeString(chargeMethod);
		dest.writeString(chargeLimit);
		dest.writeString(gun);
		
	}
	
	public final static Parcelable.Creator<JsonChargeCustom> CREATOR = new Creator<JsonChargeCustom>() {

		@Override
		public JsonChargeCustom[] newArray(int size) {
			// TODO Auto-generated method stub
			return new JsonChargeCustom[size];
		}

		@Override
		public JsonChargeCustom createFromParcel(Parcel source) {
			// TODO Auto-generated method stub
			return new JsonChargeCustom(source);
		}
	};
	

}
